package com.cctv.fmaed.module.redis.memory.pojo.po;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * 会话信息DTO
 *
 * @author heyingcheng
 * @since 2023/6/20
 */
@Setter
@Getter
@ToString
@NoArgsConstructor
public class ClientSessionPO {

    /**
     * WS服务器ID
     */
    private String wssid;
    /**
     * WS服务器IP-PORT
     */
    private String wssip;
    /**
     * WS会话ID
     */
    private String sid;
    /**
     * 客户端ID
     */
    private String guid;
    /**
     * 生存时间值
     */
    private Long ttl;
    /**
     * 创建时间
     */
    private Long ctime;

    public ClientSessionPO(String wssid, String wssip) {
        this.wssid = wssid;
        this.wssip = wssip;
    }

}
